<HTML><HEAD><TITLE>compile_term_annotated(+Clauses, ?Annotated, ++Options)</TITLE>
</HEAD><BODY>[ <A HREF="index.html">Predicate Database and Compiler</A> | <A HREF="../../index.html">Reference Manual</A> | <A HREF="../../fullindex.html">Alphabetic Index</A> ]
<H1>compile_term_annotated(+Clauses, ?Annotated, ++Options)</H1>
Compile a list of terms, possibly annotated with source information
<DL>
<DT><EM>Clauses</EM></DT>
<DD>List of clauses and/or directives
</DD>
<DT><EM>Annotated</EM></DT>
<DD>Annotated form of Clauses, or variable
</DD>
<DT><EM>Options</EM></DT>
<DD>List of compiler options
</DD>
</DL>
<H2>Description</H2>

    Compile a list of clauses and queries, when source location information
    is available.  Such annotated source clauses occur inside inlining
    transformations (inline/2) or macro transformations (macro/3), when
    using library(source_processor), or when using read_annotated/3.
    Code compiled with source location annotations can be traced more
    easily in the debugger.
<P>
    If Annotated is a variable, then no source information is available,
    and the predicate behaves exactly like compile_term/2. If Annotated
    is instantiated, it must corresponded to the annotated form of Clauses,
    i.e. as if returned by read_annotated/2,3.
<P>
    See compile_term/2 for details.
    
<H3>Modules</H3>
This predicate is sensitive to its module context (tool predicate, see @/2).
<H2>See Also</H2>
<A HREF="../../kernel/compiler/compile-1.html">compile / 1</A>, <A HREF="../../kernel/compiler/compile_term-2.html">compile_term / 2</A>, <A HREF="../../kernel/compiler/compile-2.html">compile / 2</A>, <A HREF="../../kernel/compiler/compile_term-1.html">compile_term / 1</A>, <A HREF="../../kernel/ioterm/read_annotated-2.html">read_annotated / 2</A>, <A HREF="../../kernel/ioterm/read_annotated-3.html">read_annotated / 3</A>
</BODY></HTML>
